<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>3dchess: Mesh Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3dchess
   </div>
   <div id="projectbrief">Basic chess application with OpenGL graphics and AI</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_mesh-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Mesh Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Wrapper class for the Assimp library.  
 <a href="class_mesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_mesh_8h_source.html">Mesh.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a749505b238ca00f1c857f382fd947244"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a749505b238ca00f1c857f382fd947244">Mesh</a> (unsigned int numVertices, aiVector3D *vertices, aiVector3D *normals, unsigned int numFaces, aiFace *faces)</td></tr>
<tr class="memdesc:a749505b238ca00f1c857f382fd947244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_mesh.html" title="Wrapper class for the Assimp library. ">Mesh</a> object.  <a href="#a749505b238ca00f1c857f382fd947244">More...</a><br/></td></tr>
<tr class="separator:a749505b238ca00f1c857f382fd947244"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a9120fbb1a2e707bf8eb7d254d3ab139f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9120fbb1a2e707bf8eb7d254d3ab139f"></a>
GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a9120fbb1a2e707bf8eb7d254d3ab139f">m_numVertices</a></td></tr>
<tr class="memdesc:a9120fbb1a2e707bf8eb7d254d3ab139f"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of vertices. <br/></td></tr>
<tr class="separator:a9120fbb1a2e707bf8eb7d254d3ab139f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec323ef31b57e63dcdb68f451fcc9279"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec323ef31b57e63dcdb68f451fcc9279"></a>
aiVector3D *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#aec323ef31b57e63dcdb68f451fcc9279">m_vertices</a></td></tr>
<tr class="memdesc:aec323ef31b57e63dcdb68f451fcc9279"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model's vertices. <br/></td></tr>
<tr class="separator:aec323ef31b57e63dcdb68f451fcc9279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab505d261d642fa625e9764db5c5733a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab505d261d642fa625e9764db5c5733a6"></a>
aiVector3D *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#ab505d261d642fa625e9764db5c5733a6">m_normals</a></td></tr>
<tr class="memdesc:ab505d261d642fa625e9764db5c5733a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model's normals. <br/></td></tr>
<tr class="separator:ab505d261d642fa625e9764db5c5733a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7dc904e3480a115aa674b640fcf1c44"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7dc904e3480a115aa674b640fcf1c44"></a>
aiVector3D *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#aa7dc904e3480a115aa674b640fcf1c44">m_textureCoords</a></td></tr>
<tr class="memdesc:aa7dc904e3480a115aa674b640fcf1c44"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model's texture coordinates. <br/></td></tr>
<tr class="separator:aa7dc904e3480a115aa674b640fcf1c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9566d333c387bc32e0bfd907bfa2aa7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9566d333c387bc32e0bfd907bfa2aa7"></a>
GLuint *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#aa9566d333c387bc32e0bfd907bfa2aa7">m_indices</a></td></tr>
<tr class="memdesc:aa9566d333c387bc32e0bfd907bfa2aa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The model's indices. <br/></td></tr>
<tr class="separator:aa9566d333c387bc32e0bfd907bfa2aa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7649218645c8319bb8c1ad0c93d18a6b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7649218645c8319bb8c1ad0c93d18a6b"></a>
GLuint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mesh.html#a7649218645c8319bb8c1ad0c93d18a6b">m_numIndices</a></td></tr>
<tr class="memdesc:a7649218645c8319bb8c1ad0c93d18a6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of indices. <br/></td></tr>
<tr class="separator:a7649218645c8319bb8c1ad0c93d18a6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper class for the Assimp library. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a749505b238ca00f1c857f382fd947244"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Mesh::Mesh </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>numVertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aiVector3D *&#160;</td>
          <td class="paramname"><em>vertices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aiVector3D *&#160;</td>
          <td class="paramname"><em>normals</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>numFaces</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aiFace *&#160;</td>
          <td class="paramname"><em>faces</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_mesh.html" title="Wrapper class for the Assimp library. ">Mesh</a> object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">numVertices</td><td>The number of model vertices. </td></tr>
    <tr><td class="paramname">vertices</td><td>The model's vertices itself. </td></tr>
    <tr><td class="paramname">normals</td><td>The model's normals itself. </td></tr>
    <tr><td class="paramname">numFaces</td><td>The number of model faces. </td></tr>
    <tr><td class="paramname">faces</td><td>The model's faces itself. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>S:/dev/3dchess/src/gui/<a class="el" href="_mesh_8h_source.html">Mesh.h</a></li>
<li>S:/dev/3dchess/src/gui/Mesh.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 9 2014 23:13:00 for 3dchess by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
